package com.itheima.dao.impl;

import com.itheima.dao.BookDao;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @author 刘全
 * @date 2021/9/11
 */
@Repository("bookdao")
public class BookDaoImpl implements BookDao {
    @Value("123")
    private int a;
    @Value("丕儿")
    private String name;

    @Override
    public void save() {
        System.out.println("bookdao save...."+a);
        System.out.println(name);
    }
}
